package demo.timeseries;

import com.github.signaflo.timeseries.TimeSeries;
import com.github.signaflo.timeseries.model.arima.Arima;
import com.github.signaflo.timeseries.model.arima.ArimaOrder;
import com.github.signaflo.timeseries.model.arima.ArimaProcess;


public class ForecastDemo {

    private static final TimeSeries ts = ArimaProcess.builder().build().simulate(30);

    public static void simulate() {
        Arima.model(ts, ArimaOrder.order(2,2,4)).forecast(5, 0.05);
    }
}
